/*
 *************************************************************************
 *西瑞克斯研发管理系统
 *版 本: 1.0   
 *日 期：02/25/2012    
 *作 者： 王浩 QQ：873987060   
 *************************************************************************   
 */
package com.application.yfprojectteams.entity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.manager.IBaseBean;
import java.util.Date;

/**
 * 
 * Description:YfProjectTeams实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 02/25/2012
 * 
 */
@Entity
@Table(name = "yf_project_teams")
public class YfProjectTeams implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfProjectTeams() {

	}

	@Id
	@Column(name = "id")
	private String id; // $field.label

	@Column(name = "project_no")
	private String projectNo; // $field.label

	@Column(name = "user_id")
	private String userId; // $field.label

	@Column(name = "user_name")
	private String userName; // $field.label

	@Column(name = "user_level")
	private String userLevel; // $field.label

	@Column(name = "org")
	private String org; // $field.label

	@Column(name = "approve_id")
	private String approveId; // $field.label

	@Column(name = "operateid")
	private String operateid; // $field.label

	@Column(name = "create_date")
	private Date createDate; // $field.label
	
	@Column(name = "ordernum")
	private Integer ordernum;

	public Integer getOrdernum() {
		return ordernum;
	}

	public void setOrdernum(Integer ordernum) {
		this.ordernum = ordernum;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Id.
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProjectNo.
	 */
	public String getProjectNo() {
		return this.projectNo;
	}

	/**
	 * @param projectNo
	 *            Set the projectNo.
	 */
	public void setProjectNo(String projectNo) {
		this.projectNo = projectNo;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the UserId.
	 */
	public String getUserId() {
		return this.userId;
	}

	/**
	 * @param userId
	 *            Set the userId.
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the UserName.
	 */
	public String getUserName() {
		return this.userName;
	}

	/**
	 * @param userName
	 *            Set the userName.
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the UserLevel.
	 */
	public String getUserLevel() {
		return this.userLevel;
	}

	/**
	 * @param userLevel
	 *            Set the userLevel.
	 */
	public void setUserLevel(String userLevel) {
		this.userLevel = userLevel;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Org.
	 */
	public String getOrg() {
		return this.org;
	}

	/**
	 * @param org
	 *            Set the org.
	 */
	public void setOrg(String org) {
		this.org = org;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ApproveId.
	 */
	public String getApproveId() {
		return this.approveId;
	}

	/**
	 * @param approveId
	 *            Set the approveId.
	 */
	public void setApproveId(String approveId) {
		this.approveId = approveId;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Operateid.
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
